package org.ns.summer.example.pojo;

import com.alibaba.fastjson.JSON;

public class UserLoginResp {
    private int state;
    private long userId;
    private String token;
    private String message;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String toJson() {
        return JSON.toJSONString(this);
    }
}
